package com.ztesoft.web.filecommon.db.po;

import java.math.*;
import java.util.*;
import org.apache.commons.lang.StringUtils;
import com.ztesoft.framework.dto.AbstractDto;

public class FileObjServerRelPO extends AbstractDto{
	private Integer  relationshipsId;
	private Integer  srcHostId;
	private String  srcIp;
	private Integer  destHostId;
	private String  destIp;
	private Integer  objId;
	private String  hostType;
	private String  state;
	private Date  stateDate;
	private Date  createDate;
    public Integer getRelationshipsId() {
        return relationshipsId;
    }
    public void setRelationshipsId(Integer relationshipsId) {
        this.relationshipsId = relationshipsId;
    }

    
    public Integer getSrcHostId() {
        return srcHostId;
    }
    public void setSrcHostId(Integer srcHostId) {
        this.srcHostId = srcHostId;
    }

    
    public String getSrcIp() {
        return StringUtils.isBlank(srcIp) ? srcIp : srcIp.trim();
    }
    public void setSrcIp(String srcIp) {
        this.srcIp = srcIp;
    }
    
    
    public Integer getDestHostId() {
        return destHostId;
    }
    public void setDestHostId(Integer destHostId) {
        this.destHostId = destHostId;
    }

    
    public String getDestIp() {
        return StringUtils.isBlank(destIp) ? destIp : destIp.trim();
    }
    public void setDestIp(String destIp) {
        this.destIp = destIp;
    }
    
    
    public Integer getObjId() {
        return objId;
    }
    public void setObjId(Integer objId) {
        this.objId = objId;
    }

    
    public String getHostType() {
        return StringUtils.isBlank(hostType) ? hostType : hostType.trim();
    }
    public void setHostType(String hostType) {
        this.hostType = hostType;
    }

    public Date getStateDate() {
		return stateDate;
	}
	public void setStateDate(Date stateDate) {
		this.stateDate = stateDate;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public String getState() {
        return StringUtils.isBlank(state) ? state : state.trim();
    }
    public void setState(String state) {
        this.state = state;
    }
    
    
    
    
}